#include "mainscene.h"
#include "config.h"
#include"QIcon"
mainScene::mainScene(QWidget *parent)
    : QWidget(parent)
{
    initScene();
}


mainScene::~mainScene()
{
}

void mainScene::initScene()
{
    //初始化窗口大小
    setFixedSize(GAME_WIDTH,GAME_HEIGHT);
    //shezhibiaoti
    setWindowTitle(GAME_TITLE);
    setWindowIcon(QIcon(GAME_ICON));

}

